package com.rw.mapper;


import com.rw.pojo.TClass;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface TClassMapper {

    List<TClass> select(TClass tClass);

    List<TClass> selectLeftJoin(@Param("cid") Integer cid);


    @Select("select * from t_class where cid=#{id}")
    TClass selectByid(@Param("id") int id);

}
